#include "EventPackageSuccessor.h"

HurtEventPackage HurtEventPackage_ini(Role* victim,Role* criminal,int ct){
    HurtEventPackage hurtEventPackage={0};
    hurtEventPackage.base.eventName=HARM;
    hurtEventPackage.base.eventStatus=VALID;
    hurtEventPackage.hurtCt=1;  
    hurtEventPackage.hurtRole=victim;
    hurtEventPackage.hurtSource=criminal;
    return hurtEventPackage;
}

NeedDodgeEventPackage NeedDodgeEventPackage_ini(Role* responsor,Role* source){
    NeedDodgeEventPackage eventPackage={0};
    eventPackage.base.eventName=NEEDDODGE;
    eventPackage.source=source;
    eventPackage.base.eventStatus=VALID;
    eventPackage.responsor=responsor;
    return eventPackage;
}

PlayCardEventPackage PlayCardEventPackage_ini(Card* card,Role* user,Role** targets,int targetsCt){
    PlayCardEventPackage eventPackage={0};
    eventPackage.base.eventName=PLAYCARD;
    eventPackage.base.eventStatus=VALID;
    eventPackage.card=card;
    eventPackage.user=user;
    eventPackage.targets=targets;
    eventPackage.targetsCt=targetsCt;
    return eventPackage;
}